/**
 * Project: ld.biz.service
 * 
 * File Created at 2012-9-23
 * $Id$
 * 
 * Copyright 1999-2100 Alibaba.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.liangdev.biz.dataobject.autocode;

/**
 * TODO Comment of DbInfoDO
 * 
 * @author chongan.wangca
 */
public class DbInfoDO {

    private Long   id;
    private String dbType;
    private String dbNameCn;
    private String dbName;
    private String ip;
    private String port;
    private String user;
    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getDbNameCn() {
        return dbNameCn;
    }

    public void setDbNameCn(String dbNameCn) {
        this.dbNameCn = dbNameCn;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @param dbType
     * @param dbName
     * @param ip
     * @param port
     * @param user
     * @param password
     */
    public DbInfoDO(String dbType, String dbName, String ip, String port, String user,
                    String password) {
        this.dbType = dbType;
        this.dbName = dbName;
        this.ip = ip;
        this.port = port;
        this.user = user;
        this.password = password;
    }

    /**
     * 
     */
    public DbInfoDO() {
    }

}
